<%-- 这是首页 --%>
<%@ page language="java" import="java.util.*"
	contentType="text/html; charset=UTF-8" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'index.jsp' starting page</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" type="text/css"
			href="/sell_food/bootstrap/css/default.css">
		<style type="text/css">
.content1 {
	width: 84%;
	height: 88%;
	position: relative;
	margin-left: 240px;
	margin-top: 6px;
	background-color: white;
	position: relative;
	margin-top: 6px;
}

.form-horizontal div div div div input {
	height: 30px;
}
</style>
	</head>
	<body>
		<jsp:include page="top.jsp"></jsp:include>
		<div class="content1"  >
			<!-- 商店列表 -->
			<div class="header">
				<h1 class="page-title">
					菜式管理
				</h1>
			</div>

			<ul class="breadcrumb" style="height:36px;">
				<li>
					<a href="<%=basePath%>/adminView/index.jsp">主页</a>
					<span class="divider">/</span>
				</li>
				<li class="active">
					菜式管理
				</li>
			</ul>

			<div class="container-fluid">
						<a href="/sell_food/adminView/addtype.jsp" role="button"
							class="btn btn-primary"> <i
							class="icon-plus"></i> 添 加</a>
						<div class="page-header"></div>
				<div class="row-fluid">
					<s:iterator value="allItemType"  status="st">
						<li class="span4">
						<div class="controls">
							<input readonly="true" name="typename" class="input-xlarge focused" id="typename"
								type="text" value="<s:property value="ItemTypeName"/>" style="height: 30px; width: 250px" />
						</div>
						<a class="btn btn-info" href="/sell_food/toupdatetype?ItemTypeId=<s:property value="ItemTypeId"/>"> <i
							class="icon-edit icon-white"></i>修改 </a>
						<a class="btn btn-danger" href="/sell_food/deletetype?Itemname=<s:property value="Itemname"/>"> <i
							class="icon-edit icon-white" ></i>删除 </a>
						
					
						<s:if test="%{#st.index%3 == 2 && !#st.last}">
								</div>
								<div class="page-header"></div>
								<div class="row-fluid">
						</s:if>

					</s:iterator>
					</div>
				</div>
		</body>
</html>
